package com.itHaipeng.service;

import com.itHaipeng.object.Brand;
import com.itHaipeng.utils.PageBean;

import java.util.List;

public interface IService {
    List<Brand> selectAll();
    void insert(Brand brand);
    void deleteByIds(int[] ids);
    //分页查询
    PageBean<Brand> selectByPage(int begin,int size);
    //模糊查询的条件
    PageBean<Brand> selectByPageCondition(int begin,int size,Brand brand);
     void upData(Brand brand);
}
